//package demo.spark.utils
//
//import java.time.temporal.{ChronoUnit, Temporal, TemporalUnit}
//import java.time.{LocalDate, LocalDateTime}
//
//import demo.spark.hurypoint.traits.ParseAble
//
//import scala.reflect.ClassTag
//
//class CalenderRange[T >: Temporal] (from: String, to: String = LocalDateTime.now().toString, t:ClassTag[T]) extends ParseAble[T,T] {
//
//  var fromDate = null;
//  var toDate = null;
//
//
//  override def check(o: T): Boolean = {
//    o != null && o.asInstanceOf[Temporal].until(toDate, ChronoUnit.NANOS) > 0;
//  }
//
//  override def parse(o: T): T = null;
//
//  def getStep[T>: Temporal](t:ClassTag[T]): Seq[T] = {
//      null
//  }
//}
